package com.mrru.common.dto;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @className: login
 * @author: 茹某
 * @date: 2022/4/29 14:54
 **/
@Data
public class LoginDto implements Serializable
{
    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

}
